Expand description

Slightly rustic FFI for BearLibTerminal.

All BearLibTerminal function equivalents reside inside the terminal module.

Examples

use bear_lib_terminal::terminal;

terminal::open("Test", 80, 30);
terminal::print_xy(0, 0, "[color=red]asdf[bkcolor=blue]asdf");
terminal::refresh();
let _ = terminal::wait_event();
terminal::close();

Modules

Helper structs for abstracting on-screen geometry.
Rusticized interface for the FFI.

Structs

An RGBA colour repr.